package com.yj.provider.exception;

public enum  ExceEnum {
    SYSTEM_ERROR(-1, "系统异常"),
    SYSTEM_BUSY(000001, "系统繁忙,请稍候再试");

    private int code;
    private String message;

    ExceEnum(){

    }

    ExceEnum(int code,String message){
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
